package com.algebra.active.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.algebra.active.mapper.WorkflowRouteMapper;
import com.algebra.active.domain.WorkflowRoute;
import com.algebra.active.service.WorkflowRouteService;
/**
  * @author al
  * @date 2020/6/10 15:21
  * @description 
  */
@Service
public class WorkflowRouteServiceImpl implements WorkflowRouteService{

    @Resource
    private WorkflowRouteMapper workflowRouteMapper;

    @Override
    public int deleteByPrimaryKey(String routeId,String procDefId) {
        return workflowRouteMapper.deleteByPrimaryKey(routeId,procDefId);
    }

    @Override
    public int insert(WorkflowRoute record) {
        return workflowRouteMapper.insert(record);
    }

    @Override
    public int insertSelective(WorkflowRoute record) {
        return workflowRouteMapper.insertSelective(record);
    }

    @Override
    public WorkflowRoute selectByPrimaryKey(String routeId,String procDefId) {
        return workflowRouteMapper.selectByPrimaryKey(routeId,procDefId);
    }

    @Override
    public int updateByPrimaryKeySelective(WorkflowRoute record) {
        return workflowRouteMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(WorkflowRoute record) {
        return workflowRouteMapper.updateByPrimaryKey(record);
    }

}
